onEvent('recipes', (event) => {
    // event.custom({
    //     type: "draconicevolution:fusion_crafting",
    //     result: { "item": 'minecraft:oak_planks' },  //output
    //     catalyst: { "item": 'minecraft:oak_log' },  //input
    //     total_energy: 100000000,  //energy
    //     tier: "DRACONIC", //leave
    //     ingredients: [ //inputlist
    //         { "item": 'minecraft:oak_planks' },
    //         { "item": 'minecraft:oak_planks' }
    //     ]
    // });

    let tool = ['sword', 'shovel', 'pickaxe', 'axe', 'hoe'];
    tool.forEach((i) => {
        event.custom({
            type: "draconicevolution:fusion_crafting",
            result: { "item": `draconicevolution:wyvern_${i}` },  //output
            catalyst: { "item": `minecraft:wooden_${i}` },  //input
            total_energy: 10000000,
            tier: "DRACONIUM",
            ingredients: [
                { "item": "draconicevolution:draconium_core" },
                { "tag": "forge:ingots/draconium" },
                { "tag": "forge:ingots/draconium" },
                { "item": "draconicevolution:basic_relay_crystal" },
                { "item": "draconicevolution:wyvern_energy_core" },
                { "item": "draconicevolution:basic_relay_crystal" }
            ]
        }).id(`nr2:draconicevolution_r/wyvern_${i}`);
    });

    event.custom({
        type: "draconicevolution:fusion_crafting",
        result: { "item": 'draconicevolution:wyvern_chestpiece' },  //output
        catalyst: { "item": 'minecraft:oak_planks' },  //input
        total_energy: 10000000,
        tier: "DRACONIUM",
        ingredients: [
            { "item": "draconicevolution:draconium_core" },
            { "tag": "forge:ingots/draconium" },
            { "tag": "forge:ingots/draconium" },
            { "item": "draconicevolution:basic_relay_crystal" },
            { "item": "draconicevolution:wyvern_energy_core" },
            { "item": "draconicevolution:basic_relay_crystal" }
        ]
    }).id(`nr2:draconicevolution_r/wyvern_chestpiece`);

    event.custom({
        type: "draconicevolution:fusion_crafting",
        result: { "item": 'draconicevolution:wyvern_core' },  //output
        catalyst: { "item": 'mekanism:advanced_control_circuit' },  //input
        total_energy: 100000,
        tier: "WYVERN",
        ingredients: [
            { "item": 'draconicevolution:wyvern_energy_core' },
            { "item": 'draconicevolution:wyvern_energy_core' },
            { "item": 'immersiveengineering:circuit_board' },
            { "item": 'immersiveengineering:circuit_board' },
            { "item": 'emendatusenigmatica:bronze_plate' },
            { "item": 'emendatusenigmatica:bronze_plate' },
        ]
    }).id(`nr2:draconicevolution_r/wyvern_core`);

    //'draconicevolution:basic_crafting_injector'
    event.custom({
        type: "draconicevolution:fusion_crafting",
        result: { "item": 'draconicevolution:wyvern_crafting_injector' },  //output
        catalyst: { "item": 'draconicevolution:basic_crafting_injector' },  //input
        total_energy: 100000,
        tier: "DRACONIUM",
        ingredients: [
            { "item": 'draconicevolution:wyvern_energy_core' },
            { "item": 'draconicevolution:wyvern_energy_core' },
            { "item": 'mekanism:basic_control_circuit' },
            { "item": 'mekanism:basic_control_circuit' },
            { "item": 'mekanism:energy_tablet' },
            { "item": 'mekanism:energy_tablet' },
            { "item": 'mekanism:steel_casing' },
            { "item": 'mekanism:steel_casing' },
        ]
    }).id(`nr2:draconicevolution_r/wyvern_crafting_injector`);

    event.custom({
        type: "draconicevolution:fusion_crafting",
        result: { "item": 'draconicevolution:awakened_crafting_injector' },  //output
        catalyst: { "item": 'draconicevolution:wyvern_crafting_injector' },  //input
        total_energy: 100000,
        tier: "WYVERN",
        ingredients: [
            { "item": 'draconicevolution:awakened_core' },
            { "item": 'draconicevolution:awakened_core' },
            { "item": 'mekanism:ultimate_control_circuit' },
            { "item": 'mekanism:ultimate_control_circuit' },
            { "item": 'mekanism:energy_tablet' },
            { "item": 'mekanism:energy_tablet' },
            { "item": 'mekanism:steel_casing' },
            { "item": 'mekanism:steel_casing' },
        ]
    }).id(`nr2:draconicevolution_r/awakened_crafting_injector`);

    event.custom({
        type: "draconicevolution:fusion_crafting",
        result: { "item": 'draconicevolution:awakened_core' },  //output
        catalyst: { "item": 'mekanism:pellet_polonium' },  //input
        total_energy: 10000000,
        tier: "WYVERN",
        ingredients: [
            { "item": 'draconicevolution:wyvern_core' },
            { "item": 'draconicevolution:wyvern_core' },
            { "item": 'draconicevolution:awakened_draconium_ingot' },
            { "item": 'draconicevolution:awakened_draconium_ingot' },
            { "item": 'draconicevolution:wyvern_core' },
            { "item": 'draconicevolution:wyvern_core' },
            { "item": 'mekanism:alloy_atomic' },
            { "item": 'mekanism:alloy_atomic' },
        ]
    }).id(`nr2:draconicevolution_r/awakened_core`);

    event.custom({
        type: "draconicevolution:fusion_crafting",
        result: { "item": 'draconicevolution:reactor_core' },  //output
        catalyst: { "item": 'mekanism:pellet_polonium' },  //input
        total_energy: 1000000000,
        tier: "CHAOTIC",
        ingredients: [
            { "item": 'mekanism:pellet_antimatter' },
            { "item": 'mekanism:pellet_antimatter' },
            { "item": 'kubejs:party_4_ingot' },
            { "item": 'kubejs:party_4_ingot' },
            { "item": 'kubejs:party_4_ingot' },
            { "item": 'kubejs:party_4_ingot' },
            { "item": 'mekanism:ultimate_control_circuit' },
            { "item": 'mekanism:ultimate_control_circuit' },
        ]
    }).id(`nr2:draconicevolution_r/reactor_core`);

    event.custom({
        type: "draconicevolution:fusion_crafting",
        result: { "item": 'draconicevolution:reactor_stabilizer' },  //output
        catalyst: { "item":  'draconicevolution:reactor_prt_stab_frame'},  //input
        total_energy: 1000000000,
        tier: "CHAOTIC",
        ingredients: [
            { "item": 'draconicevolution:reactor_prt_focus_ring' },
            { "item": 'draconicevolution:reactor_prt_focus_ring' },
            { "item": 'draconicevolution:reactor_prt_rotor_full' },
            { "item": 'mekanismgenerators:fusion_reactor_controller' },
            { "item": 'mekanismgenerators:fusion_reactor_frame' },
            { "item": 'mekanismgenerators:fusion_reactor_frame' },
            { "item": 'kubejs:party_4_ingot' },
            { "item": 'kubejs:party_4_ingot' },
            
        ]
    }).id(`nr2:draconicevolution_r/reactor_stabilizer`);

    event.custom({
        type: "draconicevolution:fusion_crafting",
        result: { "item": 'mekanism:advanced_tier_installer', "count" : 2 },  //output
        catalyst: { "item":  'mekanism:basic_tier_installer'},  //input
        total_energy: 100000,
        tier: "WYVERN",
        ingredients: [
            { "item": 'mekanism:hdpe_sheet' },
            { "item": 'mekanism:enriched_redstone' },
            { "item": 'mekanism:advanced_control_circuit' },
            { "item": 'kubejs:party_3_ingot' },
            { "item": 'mekanism:hdpe_sheet' },
            { "item": 'mekanism:enriched_redstone' },
            { "item": 'mekanism:advanced_control_circuit' },
            { "item": 'kubejs:party_3_ingot' },
        ]
    }).id(`nr2:draconicevolution_r/advanced_tier_installer`);

    event.custom({
        type: "draconicevolution:fusion_crafting",
        result: { "item": 'mekanism:elite_tier_installer', "count" : 2 },  //output
        catalyst: { "item":  'mekanism:advanced_tier_installer'},  //input
        total_energy: 500000,
        tier: "WYVERN",
        ingredients: [
            { "item": 'mekanism:hdpe_sheet' },
            { "item": 'mekanism:enriched_diamond' },
            { "item": 'mekanism:elite_control_circuit' },
            { "item": 'kubejs:party_3_ingot' },
            { "item": 'mekanism:hdpe_sheet' },
            { "item": 'mekanism:enriched_diamond' },
            { "item": 'mekanism:elite_control_circuit' },
            { "item": 'kubejs:party_3_ingot' },
        ]
    }).id(`nr2:draconicevolution_r/elite_tier_installer`);


    //'minecraft:oak_planks'

    /*[
        {"item":"draconicevolution:draconium_core"},
        {"tag":"forge:ingots/draconium"},
        {"tag":"forge:ingots/draconium"},
        {"item":"draconicevolution:basic_relay_crystal"},
        {"item":"draconicevolution:wyvern_energy_core"},
        {"item":"draconicevolution:basic_relay_crystal"}]}}*/
});


//draconicevolution
////创造阶段,虽然不是很想写，但是写一个吧，写完就可以摸鱼了
//DRACONIUM 普通  WYVERN 飞龙  DRACONIC 神龙 CHAOTIC 混沌
/*
"draconicevolution:components/chaotic_core":
{"recipe":{"type":"draconicevolution:fusion_crafting",
"result":{"item":"draconicevolution:chaotic_core"},
"catalyst":{"item":"draconicevolution:large_chaos_frag"},
"total_energy":100000000,
"tier":"DRACONIC",
"ingredients":[
    {"tag":"forge:ingots/draconium_awakened"},
    {"tag":"forge:ingots/draconium_awakened"},
    {"item":"draconicevolution:awakened_core"},
    {"item":"draconicevolution:awakened_core"},
    {"item":"draconicevolution:large_chaos_frag"},
    {"item":"draconicevolution:large_chaos_frag"},
    {"tag":"forge:ingots/draconium_awakened"},
    {"item":"draconicevolution:awakened_core"},
    {"item":"draconicevolution:awakened_core"},
    {"item":"draconicevolution:large_chaos_frag"},
    {"item":"draconicevolution:large_chaos_frag"},
    {"tag":"forge:ingots/draconium_awakened"}]
}}
*/